#!/usr/bin/python
#Filename:using_list.py

#This is my shopping list

shoplist = ['apple','mango','carrot','banana']

print 'I have ' , len(shoplist) , ' item to purchase'

print 'There items are:' , #Notic the comma at end of the line
for item in shoplist:
    print item

print '\n\n\nI also have to buy rice.'

shoplist.append('rice')
print 'My shopping list is now ' , shoplist


shoplist.sort()
print 'Sorted shopping list is ',shoplist

print "The first item I will buy is " , shoplist[0]

olditem = shoplist[0]

del shoplist[0]
print 'I bought the ' , olditem

print 'My shopping list is ' , shoplist
